﻿@model HRWEB.THouseHold
@using HRWEB.HtmlHelpers
@*<script type="text/javascript">    $(document).ready(function () {
        $("#tbBirthday").datepicker({ defaultDate: "-40y",changeYear:true
        });
    });</script>*@
@using(Html.BeginForm("Create")){
<table class="detail-table">
<tr><td>关系</td><td>@Html.DropDownListFor(x=>x.FRelationCode,Model.GetRelationList())</td><td>姓名</td><td>@Html.TextBoxFor(x => x.FName, new { style = "width:88px" })</td><td>性别</td><td>@Html.DropDownListFor(x=>x.FGenderCode,Model.GetGenderList())</td></tr>
<tr><td>出生日期</td><td>@Html.TextBoxFor(x => x.FBirthday, new { id = "tbBirthday", onClick = "WdatePicker({startDate:'1972-01-01'})" })</td><td>政治面貌</td><td>@Html.DropDownListFor(x => x.FPartyCode, Model.GetPartyList())</td><td>工作单位</td><td>@Html.TextBoxFor(x => x.FCompany)</td></tr>
<tr><td>职务职称</td><td>@Html.TextBoxFor(x=>x.FHeadship)</td><td colspan="4"><input type="submit" value="添加" style="width:100%"/></td></tr></table>}